package com.saul.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@EnableAsync
@EnableSwagger2
@EnableFeignClients
@ComponentScan(basePackages = {"com.saul.server"})
@SpringBootApplication
@EnableScheduling   // 2.开启定时任务
public class Pc28Application {

    public static void main(String[] args) {
        SpringApplication.run(Pc28Application.class, args);
    }

}
